import { defineStore } from "pinia";

export const useAppStore = defineStore("app", {
  state: () => ({
    pageLoading: false
  }),
  actions: {
    setPageLoading(boo = false) {
      this.pageLoading = boo;
    }
  },
  getters: {
    getPageLoading: (state) => state.pageLoading
  }
});
